package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "TBL_TERM_INF")
public class TblTermInf implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private TblTermInfId id = new TblTermInfId();
	
	@Column(name = "TERM_TP")
	private String TermTp; // 终端类型
	
	@Column(name = "BELONG")
	private String Belong; // POS产权方
	
	@Column(name = "BELONG_SUB")
	private String BelongSub; // 产权机构代码
	
	@Column(name = "TMNL_MONEY_INTYPE")
	private String TmnlMoneyIntype; // 押金收取方式
	
	@Column(name = "TMNL_MONEY")
	private double TmnlMoney; // 押金金额
	
	@Column(name = "TMNL_BRAND")
	private String TmnlBrand; // 终端品牌
	
	@Column(name = "TMNL_MODEL_NO")
	private String TmnlModelNo; // 终端型号
	
	@Column(name = "TMNL_BARCODE")
	private String TmnlBarcode; // 条形码
	 
	@Column(name = "DEVICE_CD")
	private String DeviceCd; // 终端设备序列号
	
	@Column(name = "INSTALLLOCATION")
	private String Installlocation; // 安装位置
	
	@Column(name = "TMNL_INTYPE")
	private String TmnlIntype; // 业务受理接入方式
	
	@Column(name = "DIAL_OUT")
	private String DialOut; // 终端呼出号码

	@Column(name = "DEAL_TYPES")
	private String DealTypes; // 终端开通交易类型
	
	@Column(name = "REC_OPR_ID")
	private String RecOprId; // 操作标识
	
	@Column(name = "REC_UPD_OPR")
	private String RecUpdOpr; // 更新柜员
	
	@Column(name = "REC_CRT_TS")
	private Date  RecCrtTs; // 记录时间
	
	@Column(name = "REC_UPD_TS")
	private Date  RecUpdTs; // 更新时间
	
	@Column(name = "APP_CD")
	private String AppCd; // 项目代码
	
	@Column(name = "SYSTEMFLAG")
	private String Systemflag; // 
	
	@Column(name = "STATUS")
	private String Status; // 
	
	@Column(name = "ACTIVE_CODE")
	private String ActiveCode; // 终端激活码
	
	@Transient
	private TblTermRiskCfg  riskCfg;//终端风控
	@Transient
	private List<TblTermRiskCfg> riskCfgList;//终端风控集合
	public TblTermInfId getId() {
		return id;
	}

	public void setId(TblTermInfId id) {
		this.id = id;
	}

	public String getTermTp() {
		return TermTp;
	}

	public void setTermTp(String termTp) {
		TermTp = termTp;
	}

	public String getBelong() {
		return Belong;
	}

	public void setBelong(String belong) {
		Belong = belong;
	}

	public String getBelongSub() {
		return BelongSub;
	}

	public void setBelongSub(String belongSub) {
		BelongSub = belongSub;
	}

	public String getTmnlMoneyIntype() {
		return TmnlMoneyIntype;
	}

	public void setTmnlMoneyIntype(String tmnlMoneyIntype) {
		TmnlMoneyIntype = tmnlMoneyIntype;
	}

	public double getTmnlMoney() {
		return TmnlMoney;
	}

	public void setTmnlMoney(double tmnlMoney) {
		TmnlMoney = tmnlMoney;
	}

	public String getTmnlBrand() {
		return TmnlBrand;
	}

	public void setTmnlBrand(String tmnlBrand) {
		TmnlBrand = tmnlBrand;
	}

	public String getTmnlModelNo() {
		return TmnlModelNo;
	}

	public void setTmnlModelNo(String tmnlModelNo) {
		TmnlModelNo = tmnlModelNo;
	}

	public String getTmnlBarcode() {
		return TmnlBarcode;
	}

	public void setTmnlBarcode(String tmnlBarcode) {
		TmnlBarcode = tmnlBarcode;
	}

	public String getDeviceCd() {
		return DeviceCd;
	}

	public void setDeviceCd(String deviceCd) {
		DeviceCd = deviceCd;
	}

	public String getInstalllocation() {
		return Installlocation;
	}

	public void setInstalllocation(String installlocation) {
		Installlocation = installlocation;
	}

	public String getTmnlIntype() {
		return TmnlIntype;
	}

	public void setTmnlIntype(String tmnlIntype) {
		TmnlIntype = tmnlIntype;
	}

	public String getDialOut() {
		return DialOut;
	}

	public void setDialOut(String dialOut) {
		DialOut = dialOut;
	}

	public String getDealTypes() {
		return DealTypes;
	}

	public void setDealTypes(String dealTypes) {
		DealTypes = dealTypes;
	}

	public String getRecOprId() {
		return RecOprId;
	}

	public void setRecOprId(String recOprId) {
		RecOprId = recOprId;
	}

	public String getRecUpdOpr() {
		return RecUpdOpr;
	}

	public void setRecUpdOpr(String recUpdOpr) {
		RecUpdOpr = recUpdOpr;
	}

	public Date getRecCrtTs() {
		return RecCrtTs;
	}

	public void setRecCrtTs(Date recCrtTs) {
		RecCrtTs = recCrtTs;
	}

	public Date getRecUpdTs() {
		return RecUpdTs;
	}

	public void setRecUpdTs(Date recUpdTs) {
		RecUpdTs = recUpdTs;
	}

	public String getAppCd() {
		return AppCd;
	}

	public void setAppCd(String appCd) {
		AppCd = appCd;
	}

	public String getSystemflag() {
		return Systemflag;
	}

	public void setSystemflag(String systemflag) {
		Systemflag = systemflag;
	}

	public String getStatus() {
		return Status;
	}

	public void setStatus(String status) {
		Status = status;
	}

	public String getActiveCode() {
		return ActiveCode;
	}

	public void setActiveCode(String activeCode) {
		ActiveCode = activeCode;
	}

	public TblTermRiskCfg getRiskCfg() {
		return riskCfg;
	}

	public void setRiskCfg(TblTermRiskCfg riskCfg) {
		this.riskCfg = riskCfg;
	}

	public List<TblTermRiskCfg> getRiskCfgList() {
		return riskCfgList;
	}

	public void setRiskCfgList(List<TblTermRiskCfg> riskCfgList) {
		this.riskCfgList = riskCfgList;
	}
	
}
